package com.climber.android.commonsdk.arouter

import android.content.Context
import android.net.Uri
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.facade.service.PathReplaceService

/**
 * Created by Mikes at 2019/4/17
 * ARouter路由路径替换处理, 参考UrlSchemeFilterActivity. 大幅度降低link与目标页面的耦合
 */
@Route(path = "/service/pathReplaceService")
class PathReplaceServiceImpl : PathReplaceService {
    override fun forString(path: String): String {
        return path
    }

    override fun forUri(uri: Uri): Uri {
        return uri
    }

    override fun init(context: Context?) {
    }
}